export default [
  {
    path: '/',
    name: 'home',
    component: () => import('@/views/HomeView.vue')
  },
  {
    path: '/birthday',
    name: 'birthday',
    component: () => import('@/views/BirthdayView.vue')
  },
  {
    path: '/touchhead',
    name: 'touchhead',
    component: () => import('@/views/TouchHeadView.vue')
  },
  // 自定义时间
  {
    path: '/setTime',
    name: 'setTime',
    component: () => import('@/views/control-time/SetTimeView.vue')
  },
  // TODO
  {
    path: '/todo',
    name: 'todo',
    component: () => import('@/views/todo/TodoView.vue')
  },
  // 原神
  {
    path: '/ys',
    name: 'ys',
    children: [
      {
        path: 'venti',
        name: 'venti',
        component: () => import('@/views/ys/VenTiView.vue')
      },
    ]
  },
  // 定义错误页面路由
  {
    path: '/404',
    name: '404',
    component: () => import('@/views/ErrorView.vue')
  },
  {
    path: '/:pathMatch(.*)',
    redirect: '/404'
  },
]